package com.jn.services.imp;

import com.jn.entity.User;
import com.jn.mappers.UserMapper;
import com.jn.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Zhangkh on 2017/12/25.
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> get(String userName) {
        return userMapper.get(userName);
    }
}
